﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Diagnostics;

namespace DeviceSDK.LED.NuoWa
{
    public partial class NuoWa_Msg : Form
    {
        private const int WM_LED_NOTIFY = 0x800;
        public IntPtr GetHandle
        {
            get { return Handle; }
        }


        public NuoWa_Msg()
        {
            InitializeComponent();
        }

        private void NuoWa_Msg_Load(object sender, EventArgs e)
        {

        }


        protected override void WndProc(ref System.Windows.Forms.Message m)
        {
            switch (m.Msg)
            {
                case WM_LED_NOTIFY:
                    NuoWa_PSD100.OnLEDNotify(m);
                    break;
                default:
                    base.WndProc(ref m);//调用基类函数处理非自定义消息。
                    break;
            }

        }

    }
}
